package com.mock.ems.task;

import com.mock.ems.redis.RedisSingleHandler;

/**
 * Created by MOCK on 2017/8/17.
 */
public class DistributionTask implements Runnable {

    @Override
    public void run() {
        new RedisSingleHandler().subscribe(new OrderSubscriber(),"reids.publish.addSoEntity");
    }
}
